﻿
@{ string aid = ViewBag.aid as string;
   Layout = null;
}


<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="format-detection" content="telephone=no" />
    <title>搜索</title>
    <link href="/css/style.css" rel="stylesheet" />
    <link href="/css/swipper.css" rel="stylesheet" />
    <link href="/css/preload.css" rel="stylesheet" />
    <link href="/css/loading.css" rel="stylesheet" />
    <script>
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 750) deviceWidth = 750;
        document.documentElement.style.fontSize = deviceWidth / 7.5 + "px";
        document.documentElement.style.width = "100%";
    </script>
    <script src="/js/htool.js"></script>
    <script src="/js/asynloading.js"></script>
</head>
<body>
    <div id="containter" class="container">
        <div class="searchpageindex">
            <div class="searchbox">
                <input type="text" id="key" placeholder="输入商品名字进行搜索" class="searchcon">
                <a href="javascript:;" class="searchcancel">查找</a>
            </div>
            <div class="searchtype">
                <h3>热门搜索</h3>
                <div class="searchlist">
                    <a href="/@(aid)/sc.html?key=零食" target="_blank">零食</a>
                    <a href="/@(aid)/sc.html?key=手机" target="_blank">手机</a>
                    <a href="/@(aid)/sc.html?key=女鞋" target="_blank">女鞋</a>
                    <a href="/@(aid)/sc.html?key=打底裤" target="_blank">打底裤</a>
                    <a href="/@(aid)/sc.html?key=纸尿裤" target="_blank">纸尿裤</a>
                    <a href="/@(aid)/sc.html?key=短袖" target="_blank">短袖</a>
                    <a href="/@(aid)/sc.html?key=化妆品" target="_blank">化妆品</a>
                    <a href="/@(aid)/sc.html?key=吹风机" target="_blank">吹风机</a>
                    <a href="/@(aid)/sc.html?key=耳机" target="_blank">耳机</a>
                    <a href="/@(aid)/sc.html?key=电锅" target="_blank">电锅</a>
                </div>
            </div>
            <div class="searchtype">
                <h3>全部分类</h3>
                <div class="searchlist">
                    <a href="/@(aid)/c_1.html">女装</a>
                    <a href="/@(aid)/c_7.html">母婴</a>
                    <a href="/@(aid)/c_6.html">美妆</a>
                    <a href="/@(aid)/c_12.html">居家</a>
                    <a href="/@(aid)/c_4.html">配饰</a>
                    <a href="/@(aid)/c_8.html">美食</a>
                    <a href="/@(aid)/c_5.html">运动</a>
                    <a href="/@(aid)/c_13.html">家电</a>
                    <a href="/@(aid)/c_10.1html">数码</a>
                    <a href="/@(aid)/c_2.html">男装</a>
                    <a href="/@(aid)/c_9.html">内衣</a>
                    <a href="/@(aid)/c_3.html">鞋包</a>
                    <a href="/@(aid)/c_11.html">家装</a>
                    <a href="/@(aid)/c_14.html">汽车</a>
                    <a href="/@(aid)/c_15.html">生活服务</a>
                    <a href="/@(aid)/c_16.html">图书音像</a>
                    <a href="/@(aid)/c_17.html">游戏话费</a>
                    <a href="/@(aid)/c_64.html">其它</a>
                    
                </div>
            </div>
        </div>
    </div>
</body>
</html>
<script src="/js/jquery-1.7.2.min.js"></script>
<script src="/js/idangerous.swiper.min.js"></script>
<script src="/js/common_phone.js"></script>
<script src="/js/fun.js"></script>
<script>
    function search() {
        var key = $('#key').val();
        if (key != '') {
            parent.location.href = "/@(aid)/sc.html?key=" + $('#key').val();
        }
    }
    $(function () {
        $(".searchcancel").on("click", function () {
            search();
        });
        $('#key').keydown(function (e) {
            if (e.keyCode == 13) {
                search()
            }
        });
        $(".queryThis").on("click", function () {
            $('#key').val($(this).html())
            search();
        });
    });
</script>


